From 9efbc9cb26a4d31def8adf33c9d5a5da1f200d30 Mon Sep 17 00:00:00 2001 From: Mathias Adam Date: Sun, 20 Jan 2019 21:04:11 +0100 Subject: [PATCH] skytraq: rename option gps_utc_offset to gps-utc-offset, to be consistent with other options --- skytraq.cc | 4 ++-- ...-bin-gps_utc_offset.xml => skytraq-bin-gps-utc-offset.xml} | 0 ...{skytraq-gps_utc_offset.xml => skytraq-gps-utc-offset.xml} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename xmldoc/formats/options/{skytraq-bin-gps_utc_offset.xml => skytraq-bin-gps-utc-offset.xml} (100%) rename xmldoc/formats/options/{skytraq-gps_utc_offset.xml => skytraq-gps-utc-offset.xml} (82%) diff --git a/skytraq.cc b/skytraq.cc index d86fcb04c..20f07e01e 100644 --- a/skytraq.cc +++ b/skytraq.cc @@ -115,7 +115,7 @@ arglist_t skytraq_args[] = { "0", ARGTYPE_BOOL, ARG_NOMINMAX, nullptr }, { - "gps_utc_offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", + "gps-utc-offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr }, { @@ -136,7 +136,7 @@ arglist_t skytraq_fargs[] = { "-1", ARGTYPE_INT, "-1", "65535", nullptr }, { - "gps_utc_offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", + "gps-utc-offset", &opt_gps_utc_offset, "Seconds that GPS time tracks UTC (0: best guess)", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr }, { diff --git a/xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml b/xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml similarity index 100% rename from xmldoc/formats/options/skytraq-bin-gps_utc_offset.xml rename to xmldoc/formats/options/skytraq-bin-gps-utc-offset.xml diff --git a/xmldoc/formats/options/skytraq-gps_utc_offset.xml b/xmldoc/formats/options/skytraq-gps-utc-offset.xml similarity index 82% rename from xmldoc/formats/options/skytraq-gps_utc_offset.xml rename to xmldoc/formats/options/skytraq-gps-utc-offset.xml index de502c68f..d6656e847 100644 --- a/xmldoc/formats/options/skytraq-gps_utc_offset.xml +++ b/xmldoc/formats/options/skytraq-gps-utc-offset.xml @@ -1,5 +1,5 @@ -gps_utc_offset is used to override the built-in table of offsets of +gps-utc-offset is used to override the built-in table of offsets of the offset between GPS time and UTC time. This chipset reports only GPS time to the host and relies on software to know every time an adjustment is made. Since GPS time offsets can change without a new version of GPSBabel @@ -7,7 +7,7 @@ is released, those that care about total accuracy can override it. gpsbabel --i skytraq.bin,gps_utc_offset=15 -f filename.bin +-i skytraq.bin,gps-utc-offset=15 -f filename.bin Indicates that GPS is ahead of UTC by fifteen seconds, as was the case in 2009. -- 2.30.2